//
//  NSString+LP.h
//  LPQuestionBank
//
//  Created by 乐玑_李玉琴 on 2018/1/14.
//  Copyright © 2018年 LePoint. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NSString (LP)

/**
 判断字符串是否为空
 
 @return 是否
 */
+ (BOOL)lp_isNullString:(NSString *)string;

- (NSString *)lp_sha1;

/**
 判断是否是手机号格式是否正确

 @param mobile 手机号
 @return BOOL
 */
+ (BOOL)lp_valiMobile:(NSString *)mobile;

/**
 *    Trim the left and the right blank space
 *
 *    @return The new string without left and right blank space.
 */
- (NSString *)lp_trim;

@end
